function start() {
    var net = require('net');
    var server = net.createServer(function (socket) {
        socket.on('data', function (data) {
            socket.write('你好');
        })
        socket.on('end', function () {
            console.log('连接断开');
        })
        socket.write('欢迎光临\n')
    });
    server.listen(8124, function () {
        console.log('server bound');
    })
    console.log('TCP侦听8124');
}
module.exports.start = start;